<table class="giaiphap" width="100%" border="0" cellspacing="0" cellpadding="0">
          <?php if(!empty($mProgramsVn )){?>
          <tr>
            <td><table class="item"width="100%" border="0">
              <tr>
                <td class="item_title" ><?php echo Kohana::lang('library_lang.lbl_public_program_vn')?></td>
                </tr>
              
              </table></td>
            </tr>
           <tr>
                <td style="padding:10px">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
				
				<?php 
				$i=0;
				foreach($mProgramsVn as $list){?>
                <tr>
	  				<td style="line-height:18px">
                  <span><a class="title_new" href="<?php echo $this->site['base_url']?>library/programs/<?php echo $list['programs_id']?>"><strong><?php echo $list['programs_title'];?></strong></a></span> </td>
                    </tr>
                <tr>
                    <td  style="padding-top:10px">
                  <?php
				if(!empty($list['programs_image']) && file_exists('uploads/programs/'.$list['programs_image'])){
				?>
				
				<img class="img" src="<?php echo $this->site['base_url'].'uploads/programs/'.$list['programs_image'] ?>" align="left"  hspace="5px" vspace="5px"  style="padding-right:5px"/>
				<?php }?>
                   <?php echo $list['programs_description'];?>. 
				   <span class="chitiet"><a href="<?php echo $this->site['base_url']?>library/programs/<?php echo $list['programs_id']?>"><?php echo Kohana::lang('site_lang.lbl_more') ?>...</a></span>
				 </tr>
                 <tr>
                   <td><hr size="1"  class="quiz" /></td>
                    </tr>
					
                  <?php 
				  //if($i>1)
				 // break;
					$i++;
					
				  } ?>
                  
                </table>
				  </td>
                </tr>
               <?php } ?>
          <tr>
            <td><table class="item"width="100%" border="0">
              <tr>
                <td class="item_title" ><?php echo Kohana::lang('library_lang.lbl_public_program')?></td>
                </tr>
              
              </table></td>
            </tr>
           <tr>
                <td style="padding:10px">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
				
				<?php 
				$i=0;
				foreach($mPrograms as $list){?>
                <tr>
	  				<td style="line-height:18px">
                  <span><a class="title_new" href="<?php echo $this->site['base_url']?>library/programs/<?php echo $list['programs_id']?>"><strong><?php echo $list['programs_title'];?></strong></a></span> </td>
                    </tr>
                <tr>
                    <td  style="padding-top:10px">
                  <?php
				if(!empty($list['programs_image']) && file_exists('uploads/programs/'.$list['programs_image'])){
				?>
				
				<img class="img" src="<?php echo $this->site['base_url'].'uploads/programs/'.$list['programs_image'] ?>" align="left"  hspace="5px" vspace="5px"  style="padding-right:5px"/>
				<?php }?>
                   <?php echo $list['programs_description'];?>. 
				   <span class="chitiet"><a href="<?php echo $this->site['base_url']?>library/programs/<?php echo $list['programs_id']?>"><?php echo Kohana::lang('site_lang.lbl_more') ?>...</a></span>
				 </tr>
                 <tr>
                   <td><hr size="1"  class="quiz" /></td>
                    </tr>
					
                  <?php 
				  //if($i>1)
				 // break;
					$i++;
					
				  } ?>
                  
                </table>
				  </td>
                </tr>
                <tr>
            <td  style="padding:10px"><table  width="100%" border="0">
              <tr>
                <td class="title_special" ><?php echo Kohana::lang('library_lang.lbl_program_special')?></td>
                </tr></table></td>
            </tr>
			<tr>
				<td  style="padding:10px">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <?
					 //print_r($mProgram);
					  $sequence=0;
					  $sequence_row=0;
					 for($i=0;$i<count($mProgram);$i++)
					  {
					  //print_r($list);
					  if($sequence_row>=count($mProgram)) break;
					  ?>
					  <tr>
					  <? 
						for($k=0;$k<3;$k++){
						if($sequence>=count($mProgram)) break;
					?>
                        <td width="33%" valign="top" ><table width="100%" border="0" align="center" cellpadding="0" cellspacing="2">
                          <tr>
                            <td valign="top" align="center" >
							
							<?php
							
							if(!empty($mProgram[$sequence]['programs_image']) && file_exists('uploads/programs/'.$mProgram[$sequence]['programs_image'])){
							$image = ($this->session->get('sess_client_lang_code')=='en_US')?@$mProgram[$sequence]['programs_image_en']:@$mProgram[$sequence]['programs_image'];
							?>
							
							<a  href="<?php echo $this->site['base_url']?>library/program/<?php echo $mProgram[$sequence]['programs_id']?>"><img class="img" src="<?php echo $this->site['base_url'].'uploads/programs/'.$image; ?>" align="middle"/></a>
							<?php }?>
							</td>
							<!-- <td style="line-height:18px">
							<span><a class="title_special" href="<?php echo $this->site['base_url']?>library/program/<?php echo $mProgram[$sequence]['programs_id']?>"><strong><?php echo $mProgram[$sequence]['programs_title'];?></strong></a></span><br />
							<?php echo $mProgram[$sequence]['programs_description'];?>. 
				   <span class="chitiet"><a href="<?php echo $this->site['base_url']?>library/program/<?php echo $mProgram[$sequence]['programs_id']?>"><?php echo Kohana::lang('site_lang.lbl_more') ?>...</a>
							</td>-->
                          </tr>
                          </table></td>
                        <? 
				
						$sequence++;
						$sequence_row++;
						}
						?>
                         </tr> <?
						  }
						  ?>
                    </table>
				</td>
            </tr>
          <tr>
            <td style="padding-top:30px"><table class="item"width="100%" border="0">
              <tr>
                <td class="item_title" ><?php echo Kohana::lang('library_lang.lbl_corporate_solution')?></td>
                </tr></table></td>
            </tr>
            <tr>
                <td style="padding:10px">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <?php foreach($mSolutions as $list){?>
                <tr>
                    <td style="line-height:18px">
                  <span><a  class="title_new" href="<?php echo $this->site['base_url']?>library/solutions/<?php echo $list['solutions_id']?>"><?php echo $list['solutions_title'];?></a></span>
                  </td>
                    </tr>
                <tr>
                    <td  style="padding-top:10px">
                  <?php
                if(!empty($list['solutions_image']) && file_exists('uploads/solutions/'.$list['solutions_image'])){
                ?>
                
                <img class="img" src="<?php echo $this->site['base_url'].'uploads/solutions/'.$list['solutions_image'] ?>" align="left"  hspace="5px" vspace="5px"  style="padding-right:5px"/>
                <?php }?>
                
                   <?php echo $list['solutions_description'];?> 
                   <span class="chitiet"><a href="<?php echo $this->site['base_url']?>library/solutions/<?php echo $list['solutions_id']?>"><?php echo Kohana::lang('site_lang.lbl_more') ?>...</a></span>
                 </tr>
                 <tr>
                   <td><hr size="1"  class="quiz" /></td>
                    </tr>
                  <?php 
				  break;
				  } ?>
                  
                </table>
                  </td>
               </tr>
          <tr>
            <td  style="padding-top:30px"><table class="item"width="100%" border="0">
              <tr>
                <td class="item_title" ><?php echo Kohana::lang('library_lang.lbl_executive_coaching')?></td>
                </tr>
              <tr>
                <td class="item_content"  style="padding:10px">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
				<?php foreach($mCoaching as $list){?>
                <tr>
                    <td style="line-height:18px">
                  <span><a  class="title_new" href="<?php echo $this->site['base_url']?>library/coaching/<?php echo $list['coaching_id']?>"><?php echo $list['coaching_title'];?></a></span>
                   </td>
                    </tr>
                <tr>
                    <td  style="padding-top:10px">
                  <?php
                if(!empty($list['coaching_image']) && file_exists('uploads/coaching/'.$list['coaching_image'])){
                ?>
                
                <img class="img" src="<?php echo $this->site['base_url'].'uploads/coaching/'.$list['coaching_image'] ?>" align="left"  hspace="5px" vspace="5px"  style="padding-right:5px"/>
                <?php }?>
                
                   <?php echo $list['coaching_description'];?> 
                   <span class="chitiet"><a href="<?php echo $this->site['base_url']?>library/coaching/<?php echo $list['coaching_id']?>"><?php echo Kohana::lang('site_lang.lbl_more') ?>...</a></span>
                 </tr>
                 <tr>
                   <td><hr size="1"  class="quiz" /></td>
                    </tr>
				
				<?php }?>
                </table>
                  </td>
                </tr>
              </table></td>
            </tr>          
        </table>